package com.duing.demos.web.service;

import com.duing.demos.web.mapper.CarMapper;
import com.duing.demos.web.model.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarServiceImpl implements CarService{

    @Autowired
    private CarMapper carMapper;

    @Override
    public List<Car> getCarList() {
        return carMapper.getCarList();
    }
}
